package com.chainyoung.component_tmperson.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class WalletFinancing implements Serializable{


    /**
     * name : btc
     * img : http://local.exchange.cn/Upload/coin/59457b5d1d3e6.png
     * min_in : 0.10000000
     * min_out : 0.00000000
     * charge_in : 0.00
     * charge_out : 0.00
     * has_current : true
     * settle_time : 8
     * article : dsfsdf
     * article_time : 1537427956
     * user_cumulative_profit : 3.57
     * max_rate : 6.00
     * list : [{"id":"1","type":"current","rate":"1.00","idle_time":"1","fixed_time":"0"},{"id":"4","type":"fixed","rate":"3.00","idle_time":"1","fixed_time":"30"},{"id":"5","type":"fixed","rate":"6.00","idle_time":"1","fixed_time":"60"}]
     */

    private String name;
    private String img;
    private String min_in;
    private String min_out;
    private String charge_in;
    private String charge_out;
    private boolean has_current;
    private String settle_time;
    private String article;
    private String article_time;
    private BigDecimal user_cumulative_profit;
    private BigDecimal max_rate;
    private List<ListBean> list;
    private boolean is_turn_in;//用户是否转入过该增益币种
    private boolean is_join;//用户当前是否加入该增益

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getMin_in() {
        return min_in;
    }

    public void setMin_in(String min_in) {
        this.min_in = min_in;
    }

    public String getMin_out() {
        return min_out;
    }

    public void setMin_out(String min_out) {
        this.min_out = min_out;
    }

    public String getCharge_in() {
        return charge_in;
    }

    public void setCharge_in(String charge_in) {
        this.charge_in = charge_in;
    }

    public String getCharge_out() {
        return charge_out;
    }

    public void setCharge_out(String charge_out) {
        this.charge_out = charge_out;
    }

    public boolean isHas_current() {
        return has_current;
    }

    public void setHas_current(boolean has_current) {
        this.has_current = has_current;
    }

    public String getSettle_time() {
        return settle_time;
    }

    public void setSettle_time(String settle_time) {
        this.settle_time = settle_time;
    }

    public String getArticle() {
        return article;
    }

    public void setArticle(String article) {
        this.article = article;
    }

    public String getArticle_time() {
        return article_time;
    }

    public void setArticle_time(String article_time) {
        this.article_time = article_time;
    }




    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public BigDecimal getUser_cumulative_profit() {
        return user_cumulative_profit;
    }

    public void setUser_cumulative_profit(BigDecimal user_cumulative_profit) {
        this.user_cumulative_profit = user_cumulative_profit;
    }

    public boolean isIs_turn_in() {
        return is_turn_in;
    }

    public void setIs_turn_in(boolean is_turn_in) {
        this.is_turn_in = is_turn_in;
    }

    public BigDecimal getMax_rate() {
        return max_rate;
    }

    public void setMax_rate(BigDecimal max_rate) {
        this.max_rate = max_rate;
    }

    public boolean isIs_join() {
        return is_join;
    }

    public void setIs_join(boolean is_join) {
        this.is_join = is_join;
    }

    public static class ListBean implements Serializable{
        /**
         * id : 1
         * type : current
         * rate : 1.00
         * idle_time : 1
         * fixed_time : 0
         */

        private String id;
        private String type;//增益类型，current:活期，fixed:定期
        private String rate;//年化收益率（%）
        private String idle_time;//	转入后资金闲置时间，单位天
        private String fixed_time;// 定期的资金冻结时间，单位天
        private String risk_rank;//风险等级： low,middle,high

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public String getIdle_time() {
            return idle_time;
        }

        public void setIdle_time(String idle_time) {
            this.idle_time = idle_time;
        }

        public String getFixed_time() {
            return fixed_time;
        }

        public void setFixed_time(String fixed_time) {
            this.fixed_time = fixed_time;
        }

        public String getRisk_rank() {
            return risk_rank;
        }

        public void setRisk_rank(String risk_rank) {
            this.risk_rank = risk_rank;
        }
    }
}
